<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>{$Think.CONFIG.sitename}</title>
    <link href="__PUBLIC__/static/css/bootstrap.min.css?v=3.3.5" rel="stylesheet">
    <link href="__PUBLIC__/static/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="__PUBLIC__/static/css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="__PUBLIC__/static/css/animate.min.css" rel="stylesheet">
    <include file="Public/commoncss" />

</head>

<body class="gray-bg top-navigation">
<div id="wrapper">
    <div id="page-wrapper" class="gray-bg">
        <div class="row border-bottom white-bg">
            <include file="Public/header" />
        </div>

        <div class="wrapper wrapper-content">
            <div class="row">
                <div class="col-sm-4 ui-sortable">

                    <div class="ibox float-e-margins animated fadeInLeft">
                        <div class="ibox-title blue-bg">
                            <h5>最新通告</h5>
                        </div>
                        <div class="ibox-content no-padding" style="height: 350px;overflow-y: auto;">
                            <ul class="list-group">
                                <volist name="inform" id="vo" empty="系统君没有找到数据！">
                                    <li class="list-group-item">
                                        <p><a class="text-info" href="{:U('Index/inform')}?id={$vo.id}">{$vo.title}</a> </p>
                                        <small class="block text-muted"><i class="fa fa-clock-o"></i>{$vo["start"]|beenTime}</small>
                                    </li>
                                </volist>
                            </ul>
                        </div>
                    </div>

                    <div class="ibox float-e-margins animated fadeInLeft">
                        <div class="ibox-title yellow-bg">
                            <h5>共享信息</h5>
                        </div>
                        <div class="ibox-content" style="height: 350px;overflow-y: auto;">
                            <ul class="list-group">
                            <volist name="share" id="vo" empty="还没有共享的数据哦！">
                                <li class="list-group-item">
                                    <p><a class="text-info" href="/look?sid={$vo.id}">{$vo.uname} {$vo.title}</a> </p>
                                    <small class="block text-muted"><i class="fa fa-clock-o"></i>{$vo.time|beenTime}</small>
                                </li>
                            </volist>
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="col-sm-4 ui-sortable animated fadeInDown">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title" style="background:green;color: #fff;">
                            <h5>操作信息</h5>
                            <div class="ibox-tools">
                                <a href="javascript:;" style="color:#fff;" onclick="window.location.href='{:U('logs')}'">
                                    <i class="fa fa-list"></i>更多
                                </a>
                            </div>
                        </div>
                        <div class="ibox-content">
                            <div>
                                <volist name="log" id="vo" empty="系统君还未找到数据！">
                                    <div class="feed-activity-list">
                                        <div class="feed-element">
                                            <div class="media-body ">
                                                <br>
                                                <small class="pull-right">{$vo.t|beenTime}</small>
                                                <strong>{$vo.name}</strong> {$vo.log}
                                                <br>
                                                <small class="text-muted">{$vo.ip|errorIp=$vo['name']}</small>
                                            </div>
                                        </div>
                                    </div>
                                </volist>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-sm-4 ui-sortable animated fadeInRight">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title red-bg">
                            <h5>今日待办</h5>
                            <div class="ibox-tools">
                                <a href="javascript:;" style="color:#fff;" onclick="window.location.href='{:U('Notes/index')}'">
                                    <i class="fa fa-list"></i>更多
                                </a>
                            </div>
                        </div>
                        <div class="ibox-content ibox-heading">
                            <h3>您还有约{$noteCount}个任务需要完成</h3>
                        </div>
                        <div class="ibox-content timeline">
                            <volist name="notes" id="vo" empty="系统君还未找到数据！">
                            <div class="timeline-item">
                                <div class="row">
                                    <div class="col-xs-3 date ui-sortable">
                                        <i class="fa fa-{$vo.type|getIcon}"></i>
                                        <if condition="$vo.allday eq 0">
                                            {$vo.startdate|date='Y-m-d H:i',###}
                                            <else/>
                                            {$vo.startdate|date='Y-m-d',###}
                                        </if>
                                        <br>
                                        <small class="text-navy"><if condition="$vo.allday eq 1">全天</if>待办</small>
                                    </div>
                                    <div class="col-xs-7 content no-top-border ui-sortable">
                                        <p class="m-b-xs"><strong>{$vo.event}</strong>
                                        </p>
                                        <p>{$vo.content|mb_substr=0,120,'utf-8'}</p>
                                        <p>{$vo.status|getNoteStu}</p>
                                    </div>
                                </div>
                            </div>
                            </volist>

                        </div>
                    </div>
                </div>

            </div>
        </div>

        <include file="Public/footer" />
    </div>
</div>
<include file="Public/commonjs" />
<script src="__PUBLIC__/static/js/bootstrap.min.js?v=3.3.5"></script>
<script src="__PUBLIC__/static/js/content.min.js?v=1.0.0"></script>
<script src="__PUBLIC__/static/js/plugins/iCheck/icheck.min.js"></script>
<script src="__PUBLIC__/static/js/plugins/prettyfile/bootstrap-prettyfile.js"></script>

<script>
    $(document).ready(function () {
        $(".i-checks").iCheck({
            checkboxClass: "icheckbox_square-green",
            radioClass: "iradio_square-green",
        })
        $('input[type="file"]').prettyFile();
    });
</script>

</body>

</html>